package cn.tj.service;

import cn.tj.entity.Food;
import cn.tj.entity.PageBean;

import java.util.List;

public interface FoodService {
    PageBean foodListByPage(Integer currentPage, Integer pageSize, Double minPrice, Double maxPrice);

    void editFood(Food food);

    Food getFoodById(Integer id);

    void deleteFoodById(Integer id);

    void addFood(Food food);
}
